import React from "react";
import ReactDOM from "react-dom";

window.onload = function () {
    const App = function () {
        return (
            <div>
                <h1>Hello World</h1>
                <h5>This is a webapck demo with babel</h5>
            </div>
        )
    }
    console.log(document.getElementById('root'));
    ReactDOM.render(<App />, document.getElementById('root'));
}
